<?php
/* @var $this KegiatanController */
/* @var $model Kegiatan */

$this->breadcrumbs = array(
    'Kegiatans' => array('index'),
    'Manage',
);

$this->menu = array(
    array('label' => 'List Kegiatan', 'url' => array('index')),
    array('label' => 'Create Kegiatan', 'url' => array('create')),
);

Yii::app()->clientScript->registerScript('search', "
$('.search-button').click(function(){
	$('.search-form').toggle();
	return false;
});
$('.search-form form').submit(function(){
	$('#kegiatan-grid').yiiGridView('update', {
		data: $(this).serialize()
	});
	return false;
});
");
?>





<?php
$this->widget('zii.widgets.grid.CGridView', array(
    'id' => 'kegiatan-grid',
    'dataProvider' => $model->search(),
    'filter' => $model,
    'columns' => array(
//        'id_kegiatan',
        'bentuk_kegiatan',
        'tempat',
        'waktu',
        'gender',
        'penceramah',
        'kontak',
//        'id_kelompok',
        'keterangan',
        array(
            'class' => 'CButtonColumn',
        ),
    ),
));
?>
